﻿<%@ Page Title="" Language="C#" MasterPageFile="~/kcadastro.Master" AutoEventWireup="true"
    CodeBehind="monitor.aspx.cs" Inherits="Kcadastro.monitor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Repeater ID="rp_mon" runat="server">
        <HeaderTemplate>
            <table class="tableMain">
                <tr class="title_raw">
                    <th>
                        Consulta
                    </th>
                    <th>
                        Ultimo consulta
                    </th>
                    <th>
                        Status
                    </th>
                    <th>
                        Resposta em Segundos
                    </th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate >
            <tr >
                <td>
                    <%# DataBinder.Eval(Container.DataItem, "nome") %>
                </td>
                <td>
                    <%# DataBinder.Eval(Container.DataItem, "dtultima", "{0:G}") %>
                </td>
                <td>
                    <%# DataBinder.Eval(Container.DataItem, "ultstts") %>
                </td>
                <td>
                    <%# DataBinder.Eval(Container.DataItem, "ultimoAcesso")%>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="altr_raw">
                <td>
                    <%# DataBinder.Eval(Container.DataItem, "nome") %>
                </td>
                <td>
                    <%# DataBinder.Eval(Container.DataItem, "dtultima", "{0:G}") %>
                </td>
                <td>
                    <%# DataBinder.Eval(Container.DataItem, "ultstts") %>
                </td>
                <td>
                    <%# DataBinder.Eval(Container.DataItem, "ultimoAcesso")%>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table></FooterTemplate>
    </asp:Repeater>
</asp:Content>
